//
//  CustomLabel.m
//  EngineeringDetection
//
//  Created by DJtd on 16/8/19.
//  Copyright © 2016年 DJtd. All rights reserved.
//

#import "CustomLabel.h"

@implementation CustomLabel

- (instancetype)initWithFrame:(CGRect)frame _text:(NSString *)text _font:(float)font {

    self = [super init];
    if (self) {
        
    self.frame = frame;
    self.text = text;
    self.textAlignment = NSTextAlignmentCenter;
    self.font = [UIFont systemFontOfSize:font];
//    self.textColor = [UIColor colorWithRed:51/255.0 green:205/255.0 blue:95/255.0 alpha:1];

    }
    return self;
}




@end
